@import "base";
@import "normalize";
@import "variable";
.m_container{
  width: 100%;
  max-width: 640rem / @base;
  min-width: 320rem / @base;
  margin: 0 auto;
  background-color: #f1f1f1;
  position: relative;
}
.m_header{
  width: 100%;
  margin-bottom: 15rem/@base;
  .header_top{
    width: 100%;
    height: 98rem / @base;
    padding-left: 35rem / @base;
    padding-top: 30rem / @base;
    padding-right: 10rem/@base;
    background-color: #ff841d;
    position: relative;
    .back{
      width: 16rem/@base;
      height: 27rem/@base;
    }
    h1{
      margin: 0;
      padding: 0;
      color: #fff;
      line-height: 42rem/@base;
      font-weight: 400;
      font-size: 40rem/@base;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
    }
    h2{
      font-size: 35rem/@base;
      color: #fff;
      font-weight: 400;
      text-align: center;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
    .top_logo{
      width: 40%;
      img{
        width: 100%;
      }
    }
    .header_app{
      width: 5%;
      img{
        width: 100%;
      }
    }
  }
  .header_search{
    height: 100rem/@base;
    background-color: #fff;
    padding-top: 20rem/@base;
    padding-left: 10rem/@base;
    padding-right: 10rem/@base;
    input{
      width: 75%;
      height: 60rem/@base;
      background-color: #f1f1f1;
      border-radius: 1000rem/@base;
      padding-left: 20rem/@base;
      font-size: 20rem/@base;
    }
    button{
      width: 20%;
      height: 60rem/@base;
      background-color: #ff841d;
      border-radius: 1000rem/@base;
      border:  none;
      color: #fff;
      font-size: 20rem/@base;
    }
  }
}

  .login_register{
    height: 70rem/@base;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-top: 50rem/@base;
    a{
      display: block;
      width: 33.3%;
      height: 100%;
      line-height: 70rem/@base;
      float: left;
      font-size: 24rem/@base;
      text-align: center;
      &.register{
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
      }
    }
  }
  .m_footer{
    margin-top: 30rem/@base;
    p{
      font-size: 18rem/@base;
      text-align: center;
      height: 30rem/@base;
      line-height: 30rem/@base;
      &:nth-child(2){
        color: #666;
      }
      a{
        color: #ff1a31;
      }
      span{
        color: #666;
      }
    }
  }
  .productlist_nav{
    height: 80rem/@base;
    line-height: 80rem/@base;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 0 10rem/@base;
    a{
      font-size: 24rem/@base;
      display: block;
      height: 100%;
      float: left;
      line-height: 80rem/@base;
    }
    .btn_filter{
      width: 120rem/@base;
      height: 60rem/@base;
      line-height: 60rem/@base;
      margin-top: 10rem/@base;
      border-radius: 10px;
      font-size: 24rem/@base;
    }
  }
  // 分页
  .paginator{
    height: 70rem/@base;
    background-color: #fff;
    padding-top: 2rem/@base;
    span,.current_page{
      display: block;
      float: left;
      background-color: #eee;
      width: 165rem/@base;
      height: 65rem/@base;
      line-height: 65rem/@base;
      text-align: center;
      border-radius: 5px;
    }
    span{
      margin: 0 20rem/@base;
    }
    .current_page{
      padding-left: 45rem/@base;
    }
  }
  .txt-cut{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .one-txt-cut{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

